def fibonacci(n):
    if n <= 1:
        return n
    return fibonacci(n - 1) + fibonacci(n - 2)

n = int(input("请输入要计算的 Fibonacci 数字: "))
print(fibonacci(n))
